class TrackClaim {
    private track :Track;
    private player :Player;

    constructor(track :Track, player :Player) {
        if (track === undefined || track === null)
            throw ("track parameter may not be undefined or null.");
        if (player === undefined || player === null)
            throw ("player parameter may not be undefined or null.");

        this.track = track;
        this.player = player;
    }

    getTrack() :Track {
        return this.track;
    }

    getPlayer() :Player {
        return this.player;
    }
}